package com.combetter.changxing.http.dialog;

import android.content.Context;
import android.graphics.Color;
import android.graphics.drawable.ColorDrawable;
import android.support.v7.app.AppCompatDialog;
import android.view.Window;

import com.combetter.changxing.R;


public class LoadingDialog extends AppCompatDialog {


    public LoadingDialog(Context context) {
        super(context);
        //去掉标题栏（兼容5.0）
        requestWindowFeature(Window.FEATURE_NO_TITLE);
        //去掉默认背景
        getWindow().setBackgroundDrawable(new ColorDrawable(Color.TRANSPARENT));

//        setContentView(R.layout.dialog_loading);
    }

}
